package com.zut.Pojo.Request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
/**
 * 代码实体类
 */
public class CodeEntity implements Serializable {
    protected Integer submissionID; // 代码ID
    protected String problemID; //题目编号
    protected String sourceCode; // 源代码
    protected String language; // 编程语言
    private String stdin; // 标准输入


    public CodeEntity(Integer submissionID, String problemID, String sourceCode, String language) {
        this.submissionID=submissionID;
        this.problemID=problemID;
        this.sourceCode=sourceCode;
        this.language=language;
    }
}
